<?php
class Categorymanager_Controller_Categorymanager implements Categorymanager_Controller_Mainable {
    
    public $page = array();
    
    private $categorymanager_model_categorymanager;
    private $categorymanager_model_accessleveldecision;
    
    public function __construct() {
        $this->categorymanager_model_categorymanager = new Categorymanager_Model_Categorymanager;
        $this->categorymanager_model_accessleveldecision = new Categorymanager_Model_Accessleveldecision;
    }

    public function main(array $variables = null) {
        $this->categorymanager_model_accessleveldecision->main($variables);
        $this->page = $this->categorymanager_model_categorymanager->main($variables);
        $view = new Core_Controller_View($this->page['template']);
        $view->assign('page', $this->page);
    }

}
